Rtcl\Helpers\Functions D

Total Complexity 742
Dependencies 18
Dependents 98
Total lines 4,044
Lines of code 2,679
Logical lines of code 1,460
Comment lines 748
Methods 172
Properties 0

Methods 172

Method Rating Maintainability Complexity Lines of code
get_custom_field_html()
D
22
48 188
get_sub_terms_filter_html()
D
29
45 103
update_listing_promotions()
C
34 29 87
dropdown_terms()
C
29
23 139
create_new_user()
B
37 21 69
sanitize()
B
41 16 56
upload_item_data()
B
36 14 80
apply_payment_pricing()
B
39 15 64
touch_time()
A
36 11 70
rtcl_payment_completed()
A
41 11 54
get_sub_terms()
A
42 11 53
get_page_id()
A
56 12 15
get_user_roles()
A
51 11 24
get_option_item()
A
55 11 17
datetime()
A
50 10 26
get_cf_ids()
A
45 9 41
get_listing_attachment_props()
A
42 8 53
create_new_user_username()
A
43 8 49
get_template_part()
A
49 9 31
get_listing_redirect_url_after_edit_post()
A
50 9 30
timezone_string()
A
53 9 23
get_multilevel_terms_data()
A
47 8 34
is_human()
A
53 8 21
price()
A
47 7 33
get_term_child_id_for_a_post()
S
58 8 15
get_price_format()
S
53 7 23
locate_template()
S
53 7 21
get_cf_data()
S
53 7 21
format_decimal()
S
53 7 19
get_account_menu_items()
S
52 6 23
do_registration_from_listing_form()
S
47 5 38
get_term_top_parent_id_for_a_post()
S
58 6 14
get_listing_images()
S
54 5 20
get_account_menu_item_classes()
S
57 5 16
notice_count()
S
57 5 16
array_insert_after()
S
59 5 15
current_user_can()
S
60 5 12
insert_custom_pages()
S
52 4 25
get_cfg_ids()
S
48 3 38
debug()
S
57 4 17
print_notices()
S
56 4 16
get_favourites_link()
S
57 4 16
string_to_datetime()
S
56 4 15
string_to_bool()
S
76 5 3
is_account_page()
S
65 5 8
is_checkout_page()
S
65 5 8
setcookie()
S
64 5 8
get_payment_formatted_price()
S
57 4 15
get_notices()
S
58 4 15
get_single_term_title()
S
59 4 15
get_custom_field_ids()
S
59 4 14
get_template()
S
58 4 14
listing_feature_thumbnail()
S
59 4 14
sort_images()
S
61 4 12
get_ip_address()
S
62 4 11
get_raw_referer()
S
62 4 11
term_has_children()
S
63 4 11
update_listing_views_count()
S
56 3 18
add_default_expiry_date()
S
57 3 16
user_can_edit_image()
S
67 4 7
add_wp_error_notices()
S
68 4 7
set_time_limit()
S
71 4 5
dummy_expiry_date()
S
62 4 10
get_pages()
S
59 3 14
get_admin_email_id_s()
S
59 3 14
get_selected_cat()
S
61 3 12
is_external()
S
62 3 11
get_listings_count_by_taxonomy()
S
55 2 20
has_notice()
S
63 3 9
get_listing_types()
S
67 3 7
trim_string()
S
63 3 10
get_page_ids()
S
63 3 10
clean()
S
68 3 7
get_payment_method_list()
S
64 3 10
remove_query_arg()
S
63 3 10
is_registration_enabled()
S
68 3 7
verify_nonce()
S
66 3 8
get_custom_fields_html()
S
63 3 10
get_currency_symbol()
S
65 3 8
is_enable_terms_conditions()
S
68 3 6
request()
S
66 3 9
is_rtcl()
S
78 3 3
get_decimal_separator()
S
66 3 8
get_decimal_separator_both()
S
66 3 8
format_price_range()
S
72 3 4
is_listing_form_page()
S
77 3 3
get_thousands_separator()
S
66 3 8
post_content_has_shortcode()
S
73 3 4
get_payment_formatted_price_html()
S
58 2 14
phone_exists()
S
62 2 12
string_to_timestamp()
S
63 2 11
get_rating_html()
S
61 2 11
get_regular_pricing_options()
S
53 1 24
is_ajax()
S
78 2 3
clear_notices()
S
67 2 7
is_ad_type_disabled()
S
70 2 6
add_notice()
S
63 2 9
is_video_gallery_disabled()
S
71 2 6
is_video_urls_disabled()
S
70 2 6
is_gallery_image_required()
S
77 2 3
is_gallery_disabled()
S
70 2 6
get_star_rating_html()
S
61 2 10
is_price_type_disabled()
S
70 2 6
get_status_i18n()
S
73 2 4
is_favourites_disabled()
S
70 2 6
get_term_top_most_parent_id()
S
74 2 4
get_cf_label()
S
69 2 7
is_price_disabled()
S
70 2 6
get_rounding_precision()
S
69 2 7
get_wp_max_upload()
S
69 2 7
the_offline_payment_instructions()
S
73 2 4
print_html()
S
69 2 7
is_payment_disabled()
S
70 2 6
is_pricing_disabled()
S
70 2 6
is_description_disabled()
S
70 2 6
get_payment_gateway()
S
64 2 10
meta_exist()
S
70 2 6
get_listing_first_image_id()
S
65 2 9
get_option()
S
69 2 7
get_var()
S
79 2 3
strtolower()
S
78 2 3
get_currency()
S
66 2 8
timezone_offset()
S
64 2 9
get_one_level_categories()
S
73 2 4
is_wc_activated()
S
70 2 6
is_listings()
S
77 2 3
delete_post()
S
66 2 9
get_cf_ids_by_cfg_id()
S
60 1 13
get_all_cf_fields_by_cfg_id()
S
61 1 12
allowed_html_for_term_and_conditions()
S
63 1 12
all_ids_for_remove_attachment()
S
62 1 11
get_my_account_page_endpoints()
S
62 1 11
is_enable_mark_as_sold()
S
78 1 3
get_checkout_page_endpoints()
S
64 1 9
get_default_placeholder_url()
S
74 1 4
trim_zeros()
S
73 1 4
of_kses_data()
S
79 1 3
sanitize_title_with_underscores()
S
78 1 3
is_enable_favourite()
S
78 1 3
get_compare_limit()
S
77 1 3
is_enable_business_hours()
S
78 1 3
is_enable_social_profiles()
S
78 1 3
doing_it_wrong()
S
75 1 4
is_listing()
S
80 1 3
is_wc_active()
S
80 1 3
is_listing_taxonomy()
S
79 1 3
format_localized_price()
S
73 1 4
is_listing_location()
S
79 1 3
is_field_disabled()
S
78 1 3
login_form()
S
65 1 9
get_formatted_price()
S
75 1 4
is_mysql_date()
S
75 1 4
get_one_level_locations()
S
79 1 3
get_listing_image_ids()
S
75 1 4
is_enable_post_for_unregister()
S
79 1 3
set_customer_auth_cookie()
S
72 1 5
in_array_any()
S
79 1 3
in_array_all()
S
79 1 3
array_insert()
S
74 1 4
get_temp_listing_status()
S
79 1 3
extend_date_to_end_of_the_day()
S
69 1 6
is_listings_page()
S
75 1 4
set_datetime_date()
S
65 1 8
get_default_expired_duration_days()
S
77 1 3
time_format()
S
79 1 3
get_template_html()
S
72 1 5
get_max_upload()
S
74 1 4
date_format()
S
79 1 3
formatBytes()
S
69 1 5
is_listing_category()
S
79 1 3
get_price_decimals()
S
79 1 3
currency_decimal_count()
S
75 1 4